/* 原有样式保持不变 */

.home img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 40px;
}

.home .name {
    font-size: 32px;
    margin-bottom: 10px;
}

.home .user {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

/* 修改后的登录信息区域样式 */
.home .login-info {
    display: flex;
    flex-direction: column;
}

.home .login-info p {
    display: flex;
    align-items: center;
    line-height: 28px;
    font-size: 14px;
    color: #999999;
    margin-bottom: 8px;
}

.home .login-info p span {
    color: #666666;
    margin-left: auto; /* 使用auto margin将内容推到右侧 */
    padding-right: 10px; /* 添加右侧内边距 */
    min-width: 60px; /* 确保数值部分最小宽度一致 */
    text-align: right; /* 数值右对齐 */
}

.home .login-info .ant-btn-link {
    color: #1890ff;
    padding: 0;
    width: 70px; /* 固定按钮宽度 */
    text-align: left; /* 按钮文本左对齐 */
    margin-left: 0; /* 移除默认左边距 */
}

.home .login-info .ant-btn-link:hover {
    color: #40a9ff;
}

/* 数值卡片区域样式保持不变 */
.home .num {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.home .num .ant-card {
    width: 33%;
}
.home .num .ant-card-body {
    display: flex;
    padding: 10px 25px;
}
.home .num .icon-box {
    width: 80px;
    height: 80px;
    text-align: center;
    line-height: 85px;
    color: #fff;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.home .anticon {
    font-size: 30px;
}

.home .num .detail {
    margin-left: 15px;
}

.home .num .detail .num{
    font-size: 30px;
    margin-bottom: 10px;
}

.home .num .detail .text{
    font-size: 14px;
    text-align: center;
    color: #999999;
}
/* 在home.css中添加以下样式 */
.promotion-rule-list .ant-list-item {
    padding: 12px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.promotion-rule-list .ant-list-item:last-child {
    border-bottom: none;
}

.promotion-rule-list .ant-list-item-meta {
    align-items: center;
}

.promotion-rule-list .ant-tag {
    margin-left: auto;
    font-size: 12px;
    padding: 0 8px;
}
/* 上传相关样式保持不变 */
.floating-upload-btn {
    width: 56px;
    height: 56px;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.upload-form-card {
    width: 500px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.upload-form-card .ant-card-head {
    border-bottom: none;
    padding: 0 16px;
}

.upload-form-card .ant-card-body {
    padding: 16px;
}

.upload-form-card .ant-upload-list {
    margin-bottom: 16px;
}

.upload-form-card .ant-form-item {
    margin-bottom: 16px;
}
/* 用户头像和名字的点击效果 */
.ant-list-item-meta-avatar, 
.ant-list-item-meta-title a {
  cursor: pointer;
  transition: all 0.3s;
}

.ant-list-item-meta-avatar:hover {
  transform: scale(1.1);
}

.ant-list-item-meta-title a:hover {
  color: #1890ff;
}
/* 响应式设计保持不变 */
@media (max-width: 768px) {
    .upload-form-card {
        width: calc(100vw - 48px);
    }
    
    .home .num .ant-card {
        width: 100%;
        margin-bottom: 10px;
    }
}
/* 种子列表样式 */
.torrent-list-card {
    margin-top: 16px;
}

.torrent-list-card .ant-table {
    margin-bottom: 16px;
}

.torrent-list-card .ant-pagination {
    margin-top: 16px;
    justify-content: center;
}
/* 种子列表样式 */
.torrent-title {
    display: flex;
    align-items: center;
}

/* 详情模态框样式 */
.ant-descriptions-item-content {
    word-break: break-word;
}
/* 用户列表抽屉样式保持不变 */
.ant-drawer-body {
    padding: 0 !important;
}

.ant-tabs-nav {
    margin: 0 !important;
    padding: 0 16px;
}

.ant-list-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.ant-list-item-meta-avatar {
    margin-right: 12px;
}

.ant-list-item-meta-title {
    margin-bottom: 0;
}

.ant-tag {
    margin-left: auto;
}
/* 列表项操作按钮样式 */
.ant-list-item-action {
    margin-left: 16px;
}

.ant-list-item-action li {
    padding: 0 4px;
}

/* 删除按钮悬停效果 */
.ant-list-item-action .ant-btn-text:hover {
    color: #ff4d4f !important;
    background: rgba(255, 77, 79, 0.1);
}